﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace DLC.Module.DataTable
{
    public interface IDataRow
    {
        /// <summary>
        /// 数据ID
        /// </summary>
        int Id { get; set; }
        /// <summary>
        /// 解析行数据
        /// </summary>
        /// <param name="rowData">行数据二进制流</param>
        /// <param name="startIndex">起始位置</param>
        /// <param name="length">长度</param>
        /// <returns>是否解析成功</returns>
        //bool ParseDataRow(byte[] rowData, int startIndex, int length);
        /// <summary>
        /// 解析行数据
        /// </summary>
        /// <param name="rowData">行数据字符串</param>
        /// <returns>是否解析成功</returns>
        //bool ParseDataRow(string rowData);
    }
}